@import "normalize.css";
@import "./mixin.scss";

html {
  overflow: hidden;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: visible !important;
  overflow-x: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:focus,
a:active,
button,
div,
svg,
span {
  outline: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: 16px;
}

p {
  font-size: 14px;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  display: table;
}

#app {
  width: 100%;
  height: 100%;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset !important;
}

:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

// ==============scrollbar==========
::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, 0.3);
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b6b7b9;
}

.ant-layout {
  background: #F2F3F7;
}

.ant-tabs-nav {
  padding: 7px 16px 0;
  background: #fff;

  .ant-tabs-tab {
    color: #86909C
  }

  .ant-tabs-tab-active {
    font-weight: 600;
  }
}

.ant-tabs-content {
  padding: 0 16px;
}

.ant-modal-mask {
  background-color: rgba(29, 33, 41, 0.40) !important;
}

.ant-table-empty {
  .ant-table-cell {
    border-bottom: none !important;
  }
}

.ant-input-number-handler {
  background-color: #F2F3F5;

  &:hover {
    background-color: #E5E7EB;
  }

  >span:hover {
    color: #1d2129 !important;
  }
}

.ant-btn-default,
.ant-btn-primary {
  box-shadow: none;
}

.ant-input-number-affix-wrapper:hover {
  .ant-input-number-suffix {
    display: none;
    transition: all 0.2s linear;
  }
}

.ant-tabs-ink-bar {
  height: 4px !important;
  background: #4e6ff5;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background-color: #F2F3F5 !important;

  .ant-checkbox-wrapper {
    color: #4e6ff5 !important;
    font-weight: 400;
  }
}

.ant-select-item-option-selected {
  color: #4e6ff5 !important;
  font-weight: 400 !important;
}